package org.jeecg.modules.zcgl.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.zcgl.entity.CustomerBalanceChangesDetail;
import org.jeecg.modules.zcgl.entity.CustomerInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.zcgl.vo.statistical.ContractParameterVo;
import org.jeecg.modules.zcgl.vo.statistical.CustomerPaymentVo;

import java.util.List;

/**
 * @Description: 客户管理
 * @Author: jeecg-boot
 * @Date:   2020-06-17
 * @Version: V1.0
 */
public interface ICustomerInfoService extends IService<CustomerInfo> {

    void balanceRefundCheck(CustomerBalanceChangesDetail vo);

    boolean balanceRefund(CustomerBalanceChangesDetail vo);

    IPage<CustomerPaymentVo> queryCustomerPaymentVoList(Page<CustomerPaymentVo> page, QueryWrapper<CustomerPaymentVo> queryWrapper);

    List<CustomerPaymentVo> queryCustomerPaymentVoList(QueryWrapper<CustomerPaymentVo> queryWrapper);
}
